package com.heima.user.service;

import com.heima.common.dtos.ResponseResult;
import com.heima.model.user.dtos.ApUserFollowDto;
import com.heima.user.entity.ApUserFollow;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * APP用户关注信息表 服务类
 * </p>
 *
 * @author HM
 * @since 2023-03-22
 */
public interface ApUserFollowService extends IService<ApUserFollow> {

    /**
     * 关注与取消关注
     * @param dto
     * @return
     */
    ResponseResult userFollow(ApUserFollowDto dto);
    ApUserFollow findByUserIdAndFollowId(Integer userId, Integer followId);
}
